<template>
	<view class="container">
		fuck
		<text class="iconfont icon-sousuo"></text>
		<button type="default" @click="getUserInfo">获取个人信息</button>
	</view>
</template>

<script>
	import { getUserProfile } from '@/utils/asyncWx.js'
	export default {
		async created(){
			const res =await this.$request({
				url:'home/swiperdata'
			})
			console.log(res)
		},
		data() {
			return {
			}
		},
		methods: {
			async getUserInfo(){
				const res =await getUserProfile()
				console.log(res)
			}
		}
	}
</script>

<style>
	.container {
		padding: 20px;
		font-size: 14px;
		line-height: 24px;
	}
</style>
